import type { App } from 'vue';
import AutoComplete from './src/auto-complete.component';
import { propsResolver } from '../auto-complete';

export * from './src/auto-complete.props';

export { AutoComplete };

export default {
    install(app: App): void {
        app.component(AutoComplete.name, AutoComplete);
    },
    register(componentMap: Record<string, any>, propsResolverMap: Record<string, any>): void {
        componentMap['auto-complete'] = AutoComplete;
        propsResolverMap['auto-complete'] = propsResolver;
    },
    registerDesigner(componentMap: Record<string, any>, propsResolverMap: Record<string, any>): void {
        componentMap['auto-complete'] = AutoComplete;
        propsResolverMap['auto-complete'] = propsResolver;
    }
};
